gskpango: Remove bounds rect
authorTimm Bäder <mail@baedert.org>
Mon, 21 Dec 2020 11:56:38 +0000 (12:56 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 21 Dec 2020 11:56:38 +0000 (12:56 +0100)
commit98b99201b0704c722ccaf132b4c9294310ce4461
tree34d8c2635c09ef7cc5264b971c43a644595ba06a
parentbce4d669ee6c66267c7017e440e3c4c4f244e18a
gskpango: Remove bounds rect

We only need this to render shapes and trapezoids, i.e. only when
falling back to cairo. Remove code to measure the layout and convert the
ink_rect to a graphene_rect_t from gtk_snapshot_append_layout() and do
it when drawing shapes and trapezoids instead.
gtk/gskpango.c
gtk/gskpango.h
gtk/gtktextlayout.c